package com.ihr360.excel;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@EnableFeignClients(basePackages = {"com.ihr360.sharedservice.api", "com.ihr360.excel.service"})
@EnableAsync
@ComponentScan(basePackages = {"com.ihr360.admin.client","com.ihr360.sharedservice", "com.ihr360.excel", "com.ihr360.feign", "com.ihr360.commons", "com.ihr360.rest"})
@EntityScan(basePackages = {"com.ihr360.excel.model.dto", "com.ihr360.excel.dao"})
@PropertySource(value = "classpath:git.properties",ignoreResourceNotFound = true)
public class Ihr360ExcelProviderApplication {

    public static void main(String[] args) {
        SpringApplication.run(Ihr360ExcelProviderApplication.class, args);
    }
}
